adTempus API
PreviousUpNext
IDaySpecification::SatisfiesCriteria Method

Determines whether a specified date/time value satisfies the criterion.

C++
HRESULT SatisfiesCriteria(VARIANT valueToCheck, IHolidayProvider * holidayProvider, [in,defaultvalue(0)] long checkOptions, [out,retval] VARIANT_BOOL * satisfiesCriteria);
C#
SatisfiesCriteria(VARIANT valueToCheck, IHolidayProvider holidayProvider, [in,defaultvalue(0)] long checkOptions, [out,retval] VARIANT_BOOL satisfiesCriteria);
Visual Basic
Sub SatisfiesCriteria(valueToCheck As VARIANT, holidayProvider As IHolidayProvider, checkOptions As [in,defaultvalue(0)] long, satisfiesCriteria As [out,retval] VARIANT_BOOL)
Parameters 
Description 
[in] VARIANT valueToCheck 
A Date/Time value specifying the date and/or time to check. 
[in] IHolidayProvider * holidayProvider 
An interface to an object that provides information about holidays. 
[in,defaultvalue(0)] long checkOptions 
Reserved for future use; must be 0. 
[out,retval] VARIANT_BOOL * satisfiesCriteria 
The return value. 

True if the specified date/time satisfies the criteria for this item; False otherwise

adTempus API Reference version 3.0.0.0, revised 10/30/2008